<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Livraria On-Line</title>
</head>
<body>
	<f:view>
		<h3>Resumo Geral da Compra</h3>
Compra realizada pelo usuário <h:outputText value="#{cartMB.cart.customerName}"></h:outputText> 
(ID = <h:outputText value="#{cartMB.cart.customerId}"></h:outputText>)<p/>
			Segue a lista dos nomes dos livros informados pelo usuário:<br>
		<h:dataTable border="1" value="#{cartMB.carrinho}" var="livro">
			<h:column id="column1">
				<f:facet name="header">
					<h:outputText value="Livros Selecionados"></h:outputText>
				</f:facet>
				<h:outputText value="#{livro}"></h:outputText>
			</h:column>
		</h:dataTable>
	</f:view>
	<p />
	<a href="/ExemplosEJB/">Voltar</a>
</body>
</html>